﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Web;
//using BlueLotus7.Common;

//namespace BlueLotus7.Eden.Web.Models
//{
//    public class FieldForm
//    {
//        public enum FieldDataType
//        {
//            Text=0,
//            Number,
//            Currency,
//            DateTime,
//            MultipleLineText,

//        }

//        #region Render methods

//        public static string Field(object data, bool isReadonly = false, bool isHidden = false, string additionalClass = "")
//        {
//        }

//        protected static string Field(string data, bool isReadonly = false, bool isHidden = false)
//        {

//        }
//        protected static string Field(int data, bool isReadonly = false, bool isHidden = false)
//        {
//        }

//        protected static string Field(DateTime data, bool isReadonly = false, bool isHidden = false)
//        {
//        }

//        public static string TextAreaField(string data, int width = 200, int height = 50, bool isReadonly = false, bool isHidden = false)
//        {
//        }

//        protected const string fieldFormat = @"
//<div class=""{0}"" name=""{1}"" type="""" >
//<div class=""original"">{2}</div>
//<div class=""readonly"">{3}</div>
//<div class=""edit"">{4}</div>
//</div>";
//        protected static string GenerateReadonlyField(string fieldName, string text, string value, bool isReadonly, bool isHidden, string additionalClass)
//        {
//            return string.Format(fieldFormat,
//           additionalClass+(     isHidden?" hidden":string.Empty),
//           fieldName,
//           value
//        }

//        #endregion
//    }
//}